package com.tonghe.service;

import com.tonghe.pojo.Books;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Date:2022/1/12- 01- 12- 14:15
 **/
public interface BookService {
    int addBook(Books books);

    int deleteBookById(int id);

    int updateBook(Books books);

    Books queryBookById( int id);

    List<Books> queryAllBook();

    //查询书籍
    Books queryBookByName(String bookName);
}
